import request from '@/utils/request';
import { AxiosPromise } from 'axios';

/**
 * 查询站房运行启停记录
 * @param query
 * @returns {*}
 */
export const list = (query: {}) => {
  return request({
    url: '/biz-station/station/running/list',
    method: 'get',
    params: query
  });
};

/**
 * 查询站房运行汇总数据
 * @param query
 * @returns {*}
 */
export const summary = (query: {}) => {
  return request({
    url: '/biz-station/station/running/list/summary',
    method: 'get',
    params: query
  });
};
